package com.ramos.kuaixiao.utils;

import android.os.AsyncTask;

import com.ramos.kuaixiao.App;

public class DownloadImageTask extends AsyncTask<Void, Integer, Boolean> {

    @Override
    protected void onPreExecute() {

    }

    @Override
    protected Boolean doInBackground(Void... params) {
        try {
            Utils.unZip(App.mContext, "downloadimg.zip", FileUtil.getImagePath(App.mContext), false);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return true;
    }

    @Override
    protected void onProgressUpdate(Integer... values) {

    }

    @Override
    protected void onPostExecute(Boolean result) {

    }
}
